home *** CD-ROM | disk | FTP | other *** search
-
- > ADFS:$.!Dir.Readme - Documentation for DIR SELECT 1.01 10 December 1989
- ------------------ --------------------------------------------------
-
- DIR SELECT is a small multitasking application designed to run under the
- Archimedes RISC-OS Desktop. It provides a convenient way of setting the
- current directory in the Desktop environment. Applications that are
- really compatible with RISC-OS and the Desktop environment are completely
- independent of whatever directory is set as the current directory, but
- there are many other applications and occasions when it is important to
- have the correct directory selected. It is these situations where DIR
- SELECT can be very useful.
-
- DIR SELECT Version 1.00 was dated 12 August 1989. Version 1.01 contains
- some minor updates (see later).
-
- DIR SELECT supports both the ADFS and RamFS, but not NetFS.
-
- DIR SELECT can be installed on the icon bar by double clicking on the
- !Dir directory icon in a directory viewer. Once installed, it can be used
- as follows:
-
- (a) If a directory icon is dragged from a directory viewer to the !Dir
- icon on the icon bar, then that directory will be made the current
- directory
-
- (b) If the !Dir icon is dragged from the icon bar to a directory viewer,
- the the directory represented by that viewer is made the current
- directory
-
- (c) If the menu button is clicked over the !Dir icon on the icon bar
- a three choice menu appears. The selections are "Info", "Root" and
- "Quit".
-
- The simplest choice is "Quit" which causes !Dir to terminate. Its
- icon disappears from the icon bar.
-
- Both "Info" and "Root" have arrows indicating sub-menus.
-
- Moving the pointer onto the arrow against "Info" will just display
- basic information about the program, such as the version number.
-
- Moving the pointer onto the arrow against "Root" will display a
- sub-menu with one choice for each configured drive, and for the
- RAM disk if it is configured. Selecting one of these, sets the
- root directory on that drive as the current directory. Selecting
- "Root" on the parent menu sets the root directory of the current
- drive as the current directory.
-
- The directory !Dir contains two different versions of DIR SELECT,
- although these are functionally equivalent:
-
- (1) Dir Select BASIC version which was the first to be written and was
- written in BASIC. It includes a debugging facility which was used
- to investigate the various responses from Wimp_Poll. Full
- documentation is included in REMs within the program, which is
- called "!RunBasic".
-
- (2) Dir Select machine code version which was written to produce a
- current directory select application which would occuppy the
- minimum amount of memory. Again, full documentation is included
- in the source program, which is called "DirSlctSrc". The actual
- executable program is called "!RunImage".
-
- The !Run file in the !Dir application directory is set up to run the
- machine code version. To use the BASIC version instead:
-
- Rename the "!Run" file to "!RunMC"
- Rename the "!RunBas" file to "!Run"
-
- The files in the !Dir directory are as follows:
-
- !Run - !Run file for the machine code version
-
- !RunBas - !Run file for the BASIC version
-
- !RunBasic - Executable BASIC version
-
- !RunImage - Executable machine code version
-
- !sprites - Sprites file
-
- ReadMe - This file
-
- Every effort has been made to try to ensure that this program is error
- free and behaves as expected. Please report any errors found to ARCHIVE.
-
- Permission is granted by the author to make additional copies, or
- modify the program in any way seen fit with the proviso that such
- modified versions are clearly labelled so as to avoid confusion with
- the original version in the case of reporting errors etc.
-
- Differences between Version 1.00 and Version 1.01
- -------------------------------------------------
-
- Version 1.01 has been updated with the benefit of information from
- the new RISC-OS Programmer's Reference Manuals. In general, comments
- have been improved to show the actual use made of the RISC-OS Data
- Transfer Protocol. Overall integrity has also been improved by
- including a test to verify that the application with which DIR SELECT
- is communicating via the Data Transfer Protocol is the Filer task
- (i.e. icon drags occur between our icon and a directory viewer and
- not a window or icon belonging to another application). The
- specific changes made are as follows:
-
- - optional icon positioning at left/right of icon bar via
- "iconposition" parametric variable
-
- - parent box bounds for icon dragging corrected to work in all
- screen modes (e.g. did not work in mode 16)
-
- - menu positioning brought into line with Acorn suggested values
- from RISC-OS PRM
-
- - validation that window, from which directory icon is dragged
- to the !Dir icon on the icon bar, really is a directory viewer
- belonging to the "Filer" task
-
- - validation that window, to which the !Dir icon is dragged from
- the icon bar, really is a directory viewer
-
- - use Wimp_SetColour instead of GCOL
-
- - information window flags changed to new style.
-
-